package gs.eisenhower.swallet.dao;

import gs.eisenhower.swallet.model.Wallet;

import java.util.List;

public interface WalletDao extends GenericDao {

    /**
     * Reads amounts for one category.
     * 
     * @param <T extends Wallet> T must be a type of Wallet or a subtype of Wallet.
     * @return -
     */
    public List<Double> readPerCategory(String category);

    /**
     * Read all recordings
     * 
     * @param <T extends Wallet> Type of Entity or a subtype of Entity.
     */
    public List<Wallet> readAll();
}
